package com.gxa.pojo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

import java.io.Serializable;

/**
 * (CostPrice)实体类
 *
 * @author makejava
 * @since 2020-10-27 16:30:46
 */
@ApiModel(value = "商品成品价格实体类")
public class CostPrice implements Serializable {
    private static final long serialVersionUID = -23811566505846695L;
    /**
     * 商品成本价格id
     */
    @ApiModelProperty(name = "costPriceId",notes = "商品成本价格id",value = "商品成本价格id")
    private Integer costPriceId;
    /**
     * 真实价料
     */
    @ApiModelProperty(name = "truePrice",notes = "真实价料",value = "真实价料")
    private Double truePrice;
    /**
     * 成品计价
     */
    @ApiModelProperty(name = "finshePropri",notes = "成品计价",value = "成品计价")
    private String finshePropri;
    /**
     * 单件重量
     */
    @ApiModelProperty(name = "unitWeight",notes = "单件重量",value = "单件重量")
    private Double unitWeight;
    /**
     * 数量
     */
    @ApiModelProperty(name = "quantity",notes = "数量",value = "数量")
    private Double quantity;
    /**
     * 工费
     */
    @ApiModelProperty(name = "laborCost",notes = "工费",value = "工费")
    private Double laborCost;
    /**
     * 工费计价
     */
    @ApiModelProperty(name = "laborCostMea",notes = "工费计价",value = "工费计价")
    private String laborCostMea;
    /**
     * 成本附加费
     */
    @ApiModelProperty(name = "costSurch",notes = "成本附加费",value = "成本附加费")
    private Double costSurch;
    /**
     * 料价
     */
    @ApiModelProperty(name = "materialPrice",notes = "料价",value = "料价")
    private Double materialPrice;
    /**
     * 成本单价
     */
    @ApiModelProperty(name = "unitCost",notes = "成本单价",value = "成本单价")
    private Double unitCost;
    /**
     * 成本
     */
    @ApiModelProperty(name = "costs",notes = "成本",value = "成本")
    private Double costs;
    /**
     * 真实成本
     */
    @ApiModelProperty(name = "trueCost",notes = "真实成本",value = "真实成本")
    private Double trueCost;
    /**
     * 真实成本价
     */
    @ApiModelProperty(name = "trueCostPrice",notes = "真实成本价",value = "真实成本价")
    private Double trueCostPrice;
    /**
     * 商品id（外键）
     */
    @ApiModelProperty(name = "goodsId",notes = "商品id",value = "商品id")
    private Integer goodsId;
    /**
     * 状态
     */
    @ApiModelProperty(name = "costPriceState",notes = "状态",value = "状态")
    private Integer costPriceState;
    /**
     * 商品
     */
    private Goods goods;

    public Integer getGoodsId() {
        return goodsId;
    }

    public void setGoodsId(Integer goodsId) {
        this.goodsId = goodsId;
    }

    public Goods getGoods() {
        return goods;
    }

    public void setGoods(Goods goods) {
        this.goods = goods;
    }

    public Integer getCostPriceId() {
        return costPriceId;
    }

    public void setCostPriceId(Integer costPriceId) {
        this.costPriceId = costPriceId;
    }

    public Double getTruePrice() {
        return truePrice;
    }

    public void setTruePrice(Double truePrice) {
        this.truePrice = truePrice;
    }

    public String getFinshePropri() {
        return finshePropri;
    }

    public void setFinshePropri(String finshePropri) {
        this.finshePropri = finshePropri;
    }

    public Double getUnitWeight() {
        return unitWeight;
    }

    public void setUnitWeight(Double unitWeight) {
        this.unitWeight = unitWeight;
    }

    public Double getQuantity() {
        return quantity;
    }

    public void setQuantity(Double quantity) {
        this.quantity = quantity;
    }

    public Double getLaborCost() {
        return laborCost;
    }

    public void setLaborCost(Double laborCost) {
        this.laborCost = laborCost;
    }

    public String getLaborCostMea() {
        return laborCostMea;
    }

    public void setLaborCostMea(String laborCostMea) {
        this.laborCostMea = laborCostMea;
    }

    public Double getCostSurch() {
        return costSurch;
    }

    public void setCostSurch(Double costSurch) {
        this.costSurch = costSurch;
    }

    public Double getMaterialPrice() {
        return materialPrice;
    }

    public void setMaterialPrice(Double materialPrice) {
        this.materialPrice = materialPrice;
    }

    public Double getUnitCost() {
        return unitCost;
    }

    public void setUnitCost(Double unitCost) {
        this.unitCost = unitCost;
    }

    public Double getCosts() {
        return costs;
    }

    public void setCosts(Double costs) {
        this.costs = costs;
    }

    public Double getTrueCost() {
        return trueCost;
    }

    public void setTrueCost(Double trueCost) {
        this.trueCost = trueCost;
    }

    public Double getTrueCostPrice() {
        return trueCostPrice;
    }

    public void setTrueCostPrice(Double trueCostPrice) {
        this.trueCostPrice = trueCostPrice;
    }

    public Integer getCostPriceState() {
        return costPriceState;
    }

    public void setCostPriceState(Integer costPriceState) {
        this.costPriceState = costPriceState;
    }

    @Override
    public String toString() {
        return "CostPrice{" +
                "costPriceId=" + costPriceId +
                ", truePrice=" + truePrice +
                ", finshePropri='" + finshePropri + '\'' +
                ", unitWeight=" + unitWeight +
                ", quantity=" + quantity +
                ", laborCost=" + laborCost +
                ", laborCostMea='" + laborCostMea + '\'' +
                ", costSurch=" + costSurch +
                ", materialPrice=" + materialPrice +
                ", unitCost=" + unitCost +
                ", costs=" + costs +
                ", trueCost=" + trueCost +
                ", trueCostPrice=" + trueCostPrice +
                ", goodsId=" + goodsId +
                ", costPriceState=" + costPriceState +
                ", goods=" + goods +
                '}';
    }
}